package com.ytjj.qmyx.admin.service;

import com.ytjj.common.api.CommonPage;
import com.ytjj.qmyx.admin.model.request.DecorationRequest;
import com.ytjj.qmyx.admin.model.request.PageDecorationRequest;
import com.ytjj.qmyx.admin.model.request.PageRequest;
import com.ytjj.qmyx.admin.model.response.DecorationResponse;
import com.ytjj.qmyx.admin.model.response.PageDecorationResponse;
import com.ytjj.qmyx.mall.model.PageDecoration;

import java.util.List;

/**
 *
 *
 * @Version: 1.0
 */
public interface PageDecorationService {

	CommonPage<PageDecoration> getList(PageDecorationRequest request);

	CommonPage<PageDecorationResponse> selectList(PageRequest pageRequest);

	List<PageDecorationResponse> searchProduct(String productName);

	void insertPage(DecorationRequest[] request);

	List<DecorationResponse> decoraList(Integer id);

	void updatePageById(DecorationRequest[] request);

	void updateStatus(Integer id);
}
